﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using VTNT.DataLayer.DataObject.Base;
using VTNT.DataLayer.DataObject.SQL;

namespace VTNT.DataLayer.DataObject.Core
{
    public class CCoreDao:CDaoBase
    {
        public DataSet Login(string ClientKey, string inputValue)
        {
            return CallFunction(CStoreProcedure.Login, ClientKey, inputValue);
        }
        public DataSet ActionUser(string ClientKey, string inputValue)
        {
            return CallFunction(CStoreProcedure.ActionUser, ClientKey, inputValue);
        }

        public DataSet GetResource(string ClientKey, string inputValue)
        {
            return CallFunction(CStoreProcedure.GetResource, ClientKey, inputValue);
        }

        public DataSet GetData(string ClientKey, string inputValue)
        {
            return CallFunction(CStoreProcedure.GetData, ClientKey, inputValue);
        }

        public DataSet ActionData(string ClientKey, string inputValue)
        {
            return CallFunction(CStoreProcedure.ActionData, ClientKey, inputValue);
        }

        public DataSet ActionResource(string ClientKey, string inputValue)
        {
            return CallFunction(CStoreProcedure.ActionResource, ClientKey, inputValue);
        }

        public DataSet GetContextData(string ClientKey, string inputValue)
        {
            return CallFunction(CStoreProcedure.GetContextData, ClientKey, inputValue);
        }
    }
}
